package og.example.entity;

public class Student {
    private Integer id;
    private Long studentId;
    private String studentName;
    private String groupName;

    // 添加一个构造函数
    public Student(Integer id, Long studentId, String studentName, String groupName) {
        this.id = id;
        this.studentId = studentId;
        this.studentName = studentName;
        this.groupName = groupName;
    }

    // Getter 和 Setter 方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}